package com.apartment.own.mapper;

import java.util.List;
import com.apartment.own.domain.OwnResArticleInventory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 物品清单Mapper接口
 * 
 * @author @Dog_E
 * @date 2020-08-28
 */
public interface OwnResArticleInventoryMapper extends BaseMapper<OwnResArticleInventory>
{
    /**
     * 查询物品清单
     * 
     * @param id 物品清单ID
     * @return 物品清单
     */
    public OwnResArticleInventory selectOwnResArticleInventoryById(Long id);

    /**
     * 查询物品清单列表
     * 
     * @param ownResArticleInventory 物品清单
     * @return 物品清单集合
     */
    public List<OwnResArticleInventory> selectOwnResArticleInventoryList(OwnResArticleInventory ownResArticleInventory);

    /**
     * 新增物品清单
     * 
     * @param ownResArticleInventory 物品清单
     * @return 结果
     */
    public int insertOwnResArticleInventory(OwnResArticleInventory ownResArticleInventory);

    /**
     * 修改物品清单
     * 
     * @param ownResArticleInventory 物品清单
     * @return 结果
     */
    public int updateOwnResArticleInventory(OwnResArticleInventory ownResArticleInventory);

    /**
     * 删除物品清单
     * 
     * @param id 物品清单ID
     * @return 结果
     */
    public int deleteOwnResArticleInventoryById(Long id);

    /**
     * 批量删除物品清单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOwnResArticleInventoryByIds(Long[] ids);
}
